#pragma once

#include "Misc/EngineEditorMacros.h"
#include "Object/Object.h"
#include "EditorPageView.m.h"

class REditorPageViewModel;
class RWidget;

RCLASS()
class REditorPageView : public RObject
{
    ROBJECT

public:
    virtual void BindViewModel(TSharedObjectPtr<REditorPageViewModel> InViewModel)
    {
    }

    virtual void CreateWidget(TSharedObjectPtr<RWidget> InParent)
    {
        //subclass should override this function
        assert(false);
    }

    //add operation buttons to operation bar
    //at right top of the page area
    virtual void FillOperations(TSharedObjectPtr<RWidget> InOperationParent){}
};